package service.Imp;


import dao.Imp.DaoLogicImp;
import service.ServiceLogic;

import java.util.Date;

public class ServiceLogicImp implements ServiceLogic {
    DaoLogicImp daoLogicImp =new DaoLogicImp();
    @Override
    public void findAllService() {
        daoLogicImp.findAllDao();
    }


    @Override
    public void addAmountService(String project, Double amount,String date) {
        daoLogicImp.addAmountDao(project,  amount,  date);
    }

    @Override
    public void consumeAmountService(String project, Double amount, String date) {
        daoLogicImp.consumeAmountDao(project,  amount,  date);
    }
}
